{% extends 'usercenter-base.html' %}
{% block title  %}我的收藏- 慕学在线网{% endblock %}
{% load staticfiles %}
{% block custom_break %}
        <section>
        <div class="wp">
            <ul  class="crumbs">
                <li><a href="{% url 'index' %}">首页</a>></li>
                <li><a href="/user/home/">个人中心</a>></li>
                <li>我的收藏</li>
            </ul>
        </div>
    </section>
{% endblock %}
{% block right_content %}
       <div class="right" >
            <div class="personal_des Releasecont">
                <div class="head">
                    <h1>我的收藏</h1>
                </div>
            </div>
            <div class="personal_des permessage">
               <div class="head">
                    <ul class="tab_header messagehead">
                        <li><a href="{% url 'users:myfav_org' %}">课程机构</a> </li>
                        <li><a href="{% url 'users:myfav_teacher' %}">授课教师 </a></li>
                        <li  class="active"><a href="{% url 'users:myfav_courses' %}">公开课程</a></li>
                    </ul>
                </div>
                <div class="companycenter">
                    <div class="group_list brief">
                         {% for courses  in  courses_list %}
                          <div class="module1_5 box">
                            <a href="{% url 'course:course_detail' courses.id %}">
                                <img width="214" height="190" src="{{ MEDIA_URL }}{{ courses.image }}"/>
                            </a>
                            <div class="des">
                                <a href="{% url 'course:course_detail' courses.id %}"><h2>{{ courses.name }}</h2></a>
                                <span class="fl">时长：<i class="key">{{ courses.learn_times }}</i></span>
                                <span class="fr">学习人数：{{ courses.students }}</span>
                            </div>
                            <div class="bottom">
                                <span class="fl">{{ courses.course_org.name }}</span>
                                <span class="delete-group fr jsDeleteFav_course" data-favid="12"></span>
                            </div>
                        </div>
                         {% endfor %}




                    </div>
                </div>
            </div>
        </div>
{% endblock %}

